﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 第四次作业_10个小练习
{
    class Program
    {
        static void Main(string[] args)
        {
            //练习1：四舍五入

            Console.Write("请输入一个数字");
            double Input = Convert.ToDouble(Console.ReadLine());
            int Number = Convert.ToInt32(Input);
            Console.WriteLine(Number);
            Console.ReadKey();


        }
    }
}
